ποΈGitΠ―ΡΠ°ποΈ
docs/README.md c2a8e67aee4db8f77b7dc6924dcebfbdfba1bf5e (c2a8e67a) Text, 2.32 KB
Tc9d1d9# Documentation Structure
This directory contains the source documentation for the Meshtastic Android/Desktop/iOS app.
It serves three consumers:
Tff7b721. **In-app docs browser** β bundled via Compose Resources at build time
Tff7b722. **Jekyll site** β GitHub Pages (this directory is the Jekyll source root)
Tff7b723. **meshtastic.org** β Docusaurus sync (upstream consumption)
Tc9d1d9## Locale Layout
Ta5d6ff```
docs/
βββ _config.yml, _data/, _layouts/, _sass/ β Jekyll site infrastructure
βββ en/ β English source (edit here)
β βββ user/ β User Guide pages
β βββ developer/ β Developer Guide pages
β βββ index.md β Site home page
β βββ user.md β User Guide nav parent
β βββ developer.md β Developer Guide nav parent
βββ fr-rFR/ β French (Crowdin-generated)
β βββ user/ β Translated user guide
βββ de-rDE/ β German (Crowdin-generated)
β βββ user/
βββ ... β Other locales
```
Tc9d1d9## Editing Guidelines
Tff7b72- **English source**: Edit files under Ta5d6ff`docs/en/`. These are the authoritative source.
Tff7b72- **Translations**: Do **not** edit files in locale folders directly. They are auto-generated
by [Tff7b72Crowdin](Te6edf3https://crowdin.com/project/meshtastic-android) and will be overwritten on sync.
Contribute translations via Crowdin instead.
Tff7b72- **Adding a page**: Create the Ta5d6ff`.md` file in Ta5d6ff`docs/en/user/` or Ta5d6ff`docs/en/developer/`, then
register it in Ta5d6ff`feature/docs/.../DocBundleLoader.kt` for in-app bundling.
Tc9d1d9## How Translations Work
Tff7b721. English source files (Ta5d6ff`docs/en/user/*.md`) are uploaded to Crowdin as translation sources
Tff7b722. Volunteers translate via the Crowdin web UI
Tff7b723. Crowdin PRs land translated files at Ta5d6ff`docs/{android_code}/user/*.md` (e.g., Ta5d6ff`fr-rFR`, Ta5d6ff`pt-rBR`)
Tff7b724. At build time, the Gradle Ta5d6ff`syncTranslatedDocsToComposeResources` task bundles them into
locale-qualified Compose Resources for the in-app reader
Tff7b725. The in-app Ta5d6ff`DocBundleLoader` tries the user's locale first, then falls back to English
Served by rngit 1.5.2 - Generated in 0.05s